package com.xbongbong.pro.coolapp.pojo;

import com.xbongbong.pro.enums.DistributorMarkEnum;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 卡片特殊属性json字符串
 *
 * @Author: hongxiao
 * @date: 2022-06-10 19:10
 */
@Getter
@Setter
@ToString
public class CardPropertyPojo implements Serializable {
    private static final long serialVersionUID = -8366057270041449101L;
    /**
     * 应用id
     */
    private Long appId;
    /**
     * 菜单id
     */
    private Long menuId;
    /**
     * 表单id
     */
    private Long formId;
    /**
     * saas标识
     */
    private Integer saasMark;
    /**
     * 业务类型
     */
    private Integer businessType;
    /**
     * 子业务类型
     */
    private Integer subBusinessType;
    /**
     * 是否经销商
     */
    private Integer distributorMark;
    /**
     * 数据id
     */
    private Long dataId;
    /**
     * 关联业务id
     */
    private Long linkDataId;

    public CardPropertyPojo() {
        this.distributorMark = DistributorMarkEnum.OTHER.getCode();
    }
}
